package list;

public class LinListTest {
	public static void main(String args[]){
		LinList linList = new LinList();
		int n = 15;
		try{
			for(int i = 0;i < n;i++){
				linList.insert(i, new Integer(i+1));
			}
			
			linList.insert(12,new Integer(12));
			linList.delete(4);
			
			for(int j = 0; j < linList.size; j++){
				System.out.println(linList.getData(j)+" ");
			}
			
		}catch(Exception e){
			System.out.println(e.getMessage());
		}
	}

}
